home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 223_01 / calloc.c < prev    next >
Text File  |  1980-01-01  |  512b  |  13 lines

  1. #define NOCCARGC  /* no argument count passing */
  2. #include stdio.h
  3. /*
  4. ** Cleared-memory allocation of n items of size bytes.
  5. ** n     = Number of items to allocate space for.
  6. ** size  = Size of the items in bytes.
  7. ** Returns the address of the allocated block,
  8. ** else NULL for failure.
  9. */
  10. calloc(n, size) char *n, *size; {
  11.   return (Ualloc(n*size, YES));
  12.   }
  13.